package com.huawei.chenxuan;

/**
 * @program:IntelliJ IDEA
 * @Description:利用抽象类
 * @author:Mr.CheCheHuiBujianO
 * @data: 2022/4/29 11:03
 */
public abstract class User {
    private String name;
    private String id;
    public int guesture;

    public User(String name, String id) {
        this.name = name;
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public abstract int getGuesture(int input);
}
